package dao;

import java.util.List;

import pojo.Teams;
import pojo.UserRoleProject;
import pojo.Users;

/** 
* @author WuYuan
* 
*/
public interface UsersDao {
	public List<Users> findAllUsers() throws Exception;
	public Users findUserByUsername(String username)throws Exception;
	public Users findUserByUser(Users u)throws Exception;
	public int addUser(Users u)throws Exception;
	public Teams findTeamByUandT(String userid, String teamid)throws Exception;
	public UserRoleProject findUrpidByURP(String userid, String roleid,String projectid)throws Exception;
}
